package com.project.service.statisiticsService;

import com.github.pagehelper.PageInfo;
import com.project.bean.SaleStatisticsBean;

import java.time.LocalDate;

/**
 * 销售统计业务接口
 */
public interface ISaleStstisticsService {
    public int PAGESIZE = 3;

    /**
     * 动态查询销售统计
     * @param pageNO 分页
     * @param factory 厂商名称
     * @param startDate 起始日期
     * @param endDate 结束日期
     * @return 销售统计集合
     */
    public PageInfo<SaleStatisticsBean> findByItem(int pageNO, String factory, LocalDate startDate, LocalDate endDate);

}
